<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var stu={
				// 初始化属性
				name:"z3",
				age:"19",
				print:function(){
					return"nameis "+this.name+",age is "+this.age+".";
				}
			}
			console.log(stu.name)
			console.log(stu.age)
			console.log(stu.age2)
			console.log(stu.print())
			stu["school"]="pzhu"
			// 追加属性
			console.log(stu.school)
		</script>
	</body>
</html>
